package com.feituan.core.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feituan.core.pojo.entity.Product;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaohu
 * @since 2024-05-09
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 根据id查询商品信息
     * @param ids ids
     */
    List<Product> selectInfoByIds(@Param("ids") List<Long> ids);

}
